package com.njym.java.security.admin.biz;

import com.github.pagehelper.PageHelper;
import com.njym.java.security.admin.entity.Investtbl;
import com.njym.java.security.admin.mapper.InvesttblMapper;
import com.njym.java.security.common.biz.BaseBiz;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 
 *
 * @author lijie
 * @email 717057076@qq.com
 * @date 2020-03-10 14:13:20
 */
@Service
public class InvesttblBiz extends BaseBiz<InvesttblMapper, Investtbl> {


    /**
     * 问卷信息
     * @param page
     * @param limit
     * @param name
     * @param typetblId
     * @return
     */
    public List<Investtbl> selectByExample(Integer page, Integer limit,String name,Integer typetblId) {
        PageHelper.startPage(page, limit);
        return mapper.queryListByParam(name, typetblId);
    }
}